Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow .notConsumable() to take an IItemStack #3

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Allow .notConsumable() to take an IItemStack #3

merged 1 commit into from
Jun 24, 2021

Conversation

BraggestSage833
Copy link
Contributor

What:
This changes the implementation of the CT method notConsumable() to accept an IItemStack.

How solved:
I used the same implementation of the method Input() and manually set the stack size of each item to 0.

Outcome:
This allows not Consumables to be condensed to one line instead of needing to call the method multiple times.

Possible compatibility issue:
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants